package com.fxu.tpl.rest;

import com.fxu.framework.biz.rest.ApiProxyRest;
import com.fxu.framework.biz.rest.impl.ApiProxyRestImpl;
import com.fxu.framework.core.service.ApiService;
import com.fxu.framework.core.service.impl.ApiServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 通用代理接口实现类
 * </p>
 *
 * @author fangxu
 * @version 2021-03-13
 */
@Service
@RequiredArgsConstructor
public class ApiTplRestImpl extends ApiProxyRestImpl implements ApiProxyRest {
	private final ApiServiceImpl apiIService;
	@Override
	protected ApiService apiService(Class<?> clazz) {
		return apiIService;
	}
}
